<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: sw::Property&lt; T &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('classsw_1_1_property.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classsw_1_1_property-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">sw::Property&lt; T &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>属性  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_property_8h_source.html">Property.h</a>&gt;</code></p>
<div class="dynheader">
类 sw::Property&lt; T &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsw_1_1_property.png" usemap="#sw::Property_3C_20T_20_3E_map" alt=""/>
  <map id="sw::Property_3C_20T_20_3E_map" name="sw::Property_3C_20T_20_3E_map">
<area href="classsw_1_1_read_only_property.html" title="只读属性" alt="sw::ReadOnlyProperty&lt; T &gt;" shape="rect" coords="0,0,169,24"/>
<area href="classsw_1_1_write_only_property.html" title="只写属性" alt="sw::WriteOnlyProperty&lt; T &gt;" shape="rect" coords="179,0,348,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a657ad195af10d76fb55801b3cec62aca" id="r_a657ad195af10d76fb55801b3cec62aca"><td class="memItemLeft" align="right" valign="top"><a id="a657ad195af10d76fb55801b3cec62aca" name="a657ad195af10d76fb55801b3cec62aca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Property</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> std::function&lt; <a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;()&gt; &amp;<a class="el" href="classsw_1_1_dictionary.html">funcGet</a>, <a class="el" href="classsw_1_1_dictionary.html">const</a> std::function&lt; <a class="el" href="classsw_1_1_dictionary.html">void</a>(<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;)&gt; &amp;<a class="el" href="classsw_1_1_dictionary.html">funcSet</a>)</td></tr>
<tr class="memdesc:a657ad195af10d76fb55801b3cec62aca"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化Property <br /></td></tr>
<tr class="separator:a657ad195af10d76fb55801b3cec62aca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15318a6d29413d76006662d698f447c5" id="r_a15318a6d29413d76006662d698f447c5"><td class="memItemLeft" align="right" valign="top"><a id="a15318a6d29413d76006662d698f447c5" name="a15318a6d29413d76006662d698f447c5"></a>
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_property.html">Property</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;<a class="el" href="classsw_1_1_dictionary.html">value</a>) <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:a15318a6d29413d76006662d698f447c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">写属性 <br /></td></tr>
<tr class="separator:a15318a6d29413d76006662d698f447c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbca5ee89c3f7d07035fcece6af5c9be" id="r_adbca5ee89c3f7d07035fcece6af5c9be"><td class="memItemLeft" align="right" valign="top"><a id="adbca5ee89c3f7d07035fcece6af5c9be" name="adbca5ee89c3f7d07035fcece6af5c9be"></a>
T *&#160;</td><td class="memItemRight" valign="bottom"><b>operator-&gt;</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:adbca5ee89c3f7d07035fcece6af5c9be"><td class="mdescLeft">&#160;</td><td class="mdescRight">取属性成员 <br /></td></tr>
<tr class="separator:adbca5ee89c3f7d07035fcece6af5c9be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_read_only_property"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_read_only_property')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_read_only_property.html">sw::ReadOnlyProperty&lt; T &gt;</a></td></tr>
<tr class="memitem:a800a531ff60f5be40012d548537be339 inherit pub_methods_classsw_1_1_read_only_property" id="r_a800a531ff60f5be40012d548537be339"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>ReadOnlyProperty</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> std::function&lt; <a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;()&gt; &amp;<a class="el" href="classsw_1_1_dictionary.html">funcGet</a>)</td></tr>
<tr class="memdesc:a800a531ff60f5be40012d548537be339 inherit pub_methods_classsw_1_1_read_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化ReadOnlyProperty <br /></td></tr>
<tr class="separator:a800a531ff60f5be40012d548537be339 inherit pub_methods_classsw_1_1_read_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4317dbef2c25af64659b805cbbb26f6 inherit pub_methods_classsw_1_1_read_only_property" id="r_ac4317dbef2c25af64659b805cbbb26f6"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>Get</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:ac4317dbef2c25af64659b805cbbb26f6 inherit pub_methods_classsw_1_1_read_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">读属性 <br /></td></tr>
<tr class="separator:ac4317dbef2c25af64659b805cbbb26f6 inherit pub_methods_classsw_1_1_read_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610c93a1d2bcbdb34a97ac90e36fcea inherit pub_methods_classsw_1_1_read_only_property" id="r_a7610c93a1d2bcbdb34a97ac90e36fcea"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>operator const T &amp;</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:a7610c93a1d2bcbdb34a97ac90e36fcea inherit pub_methods_classsw_1_1_read_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">读属性 <br /></td></tr>
<tr class="separator:a7610c93a1d2bcbdb34a97ac90e36fcea inherit pub_methods_classsw_1_1_read_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace02f4ac6e2e2ba863038ed5b1befb8c inherit pub_methods_classsw_1_1_read_only_property" id="r_ace02f4ac6e2e2ba863038ed5b1befb8c"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> T *&#160;</td><td class="memItemRight" valign="bottom"><b>operator-&gt;</b> () <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:ace02f4ac6e2e2ba863038ed5b1befb8c inherit pub_methods_classsw_1_1_read_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">取属性成员 <br /></td></tr>
<tr class="separator:ace02f4ac6e2e2ba863038ed5b1befb8c inherit pub_methods_classsw_1_1_read_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsw_1_1_write_only_property"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classsw_1_1_write_only_property')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classsw_1_1_write_only_property.html">sw::WriteOnlyProperty&lt; T &gt;</a></td></tr>
<tr class="memitem:a38c348942cc3981b10e3929da579a147 inherit pub_methods_classsw_1_1_write_only_property" id="r_a38c348942cc3981b10e3929da579a147"><td class="memItemLeft" align="right" valign="top">
&#160;</td><td class="memItemRight" valign="bottom"><b>WriteOnlyProperty</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> std::function&lt; <a class="el" href="classsw_1_1_dictionary.html">void</a>(<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;)&gt; &amp;<a class="el" href="classsw_1_1_dictionary.html">funcSet</a>)</td></tr>
<tr class="memdesc:a38c348942cc3981b10e3929da579a147 inherit pub_methods_classsw_1_1_write_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化WriteOnlyProperty <br /></td></tr>
<tr class="separator:a38c348942cc3981b10e3929da579a147 inherit pub_methods_classsw_1_1_write_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a870a065cc24bec479bc35eeaa0afee87 inherit pub_methods_classsw_1_1_write_only_property" id="r_a870a065cc24bec479bc35eeaa0afee87"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">void</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Set</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;<a class="el" href="classsw_1_1_dictionary.html">value</a>) <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:a870a065cc24bec479bc35eeaa0afee87 inherit pub_methods_classsw_1_1_write_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">写属性 <br /></td></tr>
<tr class="separator:a870a065cc24bec479bc35eeaa0afee87 inherit pub_methods_classsw_1_1_write_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63a9ab87270f1ce81833bb36349e258a inherit pub_methods_classsw_1_1_write_only_property" id="r_a63a9ab87270f1ce81833bb36349e258a"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="classsw_1_1_dictionary.html">const</a> <a class="el" href="classsw_1_1_write_only_property.html">WriteOnlyProperty</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classsw_1_1_dictionary.html">const</a> T &amp;<a class="el" href="classsw_1_1_dictionary.html">value</a>) <a class="el" href="classsw_1_1_dictionary.html">const</a></td></tr>
<tr class="memdesc:a63a9ab87270f1ce81833bb36349e258a inherit pub_methods_classsw_1_1_write_only_property"><td class="mdescLeft">&#160;</td><td class="mdescRight">写属性 <br /></td></tr>
<tr class="separator:a63a9ab87270f1ce81833bb36349e258a inherit pub_methods_classsw_1_1_write_only_property"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;<a class="el" href="classsw_1_1_dictionary.html">typename</a> T&gt;<br />
class sw::Property&lt; T &gt;</div><p>属性 </p>
</div><hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="_property_8h_source.html">Property.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>sw</b></li><li class="navelem"><a class="el" href="classsw_1_1_property.html">Property</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
